home *** CD-ROM | disk | FTP | other *** search
- //---------------------------------------------------------------------------
- #ifndef FMainH
- #define FMainH
- //---------------------------------------------------------------------------
- #include <Classes.hpp>
- #include <Controls.hpp>
- #include <StdCtrls.hpp>
- #include <Forms.hpp>
- #include "UPTShellControls.hpp"
- #include "UPTTreeList.hpp"
- #include <ComCtrls.hpp>
- //---------------------------------------------------------------------------
- class TfrmMain : public TForm
- {
- __published: // IDE-managed Components
- TPTShellList *PTShellList1;
- TButton *btnCreate;
- TMemo *Memo1;
- void __fastcall PTShellList1Insert(TObject *Sender, TListItem *Item);
- void __fastcall btnCreateClick(TObject *Sender);
-
- private: // User declarations
- bool FCreatingFile;
- AnsiString FNewFileName;
- void __fastcall MakeNewFile();
- public: // User declarations
- __fastcall TfrmMain(TComponent* Owner);
- };
- //---------------------------------------------------------------------------
- extern TfrmMain *frmMain;
- //---------------------------------------------------------------------------
- #endif
-